/*package com.zhongyu.config;

import com.github.dreamyoung.mprelation.AutoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AutoMapperConfig {

    @Bean
    public AutoMapper autoMapper(@Autowired(required = false)ApplicationContext applicationContext){
        return new AutoMapper(applicationContext,new String[]{"com.zhongyu.pojo"});//配置ApplicationContext及实体类所在的包
    }
}*/
